then he ordered the dwarves each to be put in a separate cell and to be given food and drink , but not to be allowed to pass the doors of their little prisons , until one at least of them was willing to tell him all he wanted to know .