Basically word order. Russian tends to put old information first, new information last, so the fact that "кровать" is the last word in the sentence suggests that the bed (or possible bed) in question is just now coming up in conversation (so it's new information), and not some particular bed that's already being discussed. "Кровать здесь?" would be "Is the bed here?"
There's a good thread on word order here: