The average kinetic energy of the water molecules is greater in its gaseous state (in the form of water steam).
This is because in the gaseous state the water molecules are well separated from each other and can move freely in all the available space they have; because there are no cohesion forces that bond them.
In contrast to the liquid and solid state, in which the molecules have less movement.