They tap into the water pipes of the motel by loosening one just enough to make it drip. This isn’t enough for the motel to notice the water levels falling and allows the family to safely get water.
The hot water pipes also get hot enough for them to use to cook rat meat when they successfully kill off an intruding rat.