Why did the little boy take his bike to bed?

Because he didn’t want to walk in his sleep.