I'm sorry to say that its quite normal for babies to poop when they are immersed in warm water.. the warmth along with the leg kicking encourages things to move xxx
Theres nothing really you can do but I can assure you that it won't go on forever.. just stay calm.. rinse him, keep him warm and run more water xxxx
Hugs xxxxx