how long can they survive in a house
Thats confusing, you ask how long without food or water then how long in a house. Ok first of all never attempt to find out or push their limits. They should be fed every day. And I am sure they can go without for a couple days but don't do it. If you cant feed them then you need to find somebody who can. Take care of the little guys. I dont get the house thing..
it depends on the type of baby lizard. if these are native lizards that hatched in your house, or are coming in- try to shoo them outdoors where they will have food and water- if they are pet lizards that have laid eggs which have hatched, look up breeding and raising details fro the specific type on the 'net.
Most baby lizards need to eat pretty soon after they hatch- but they may need a different humidity or temp than they are in.
re-post this question with a few more details- are they native lizards born in your house, or are they pets in an enclosure. What kind of lizards?