How do you keep your house clean?

The title is pretty self explanatory. I have a two year old and our house is perpetually demolished. I could clean for 4 hours and when they get home from daycare, the house is absolutely thrashed in 30 minutes. Are we supposed to just have shit all over the house for the next few years? Tips appreciated.