I go to hot yoga occasionally - I have never heard them say to NOT drink water in class - the instructors always stress that you SHOULD hydrate and they often have reminders on their websites and in the lobby to bring enough water, and also drink a fair amount of water beforehand.