The Pied Piper steals all the children and takes them to a magical land inside the mountain. I imagine that the rats never really were drowned, but were in on a scam, and swam to the magic land through a tunnel in the lake.
The children, well they become rat food.