The verb laying means putting something somewhere. It is grammatically incorrect to say that the children were laying in bed. The correct verb to use would be lying, which means reclining or resting. Hence option B is the correct answer.
Since options A, C and D have no error in them, they are incorrect answers to this question.