"The apples and pears" is cockney rhyming slang for "the stairs". Many English children are told, at around 8 pm, that it is "time to go up the apples and pairs to Bedfordshire". Bedfordshire, of course, means bed.