This is called an equilibrium and is present in water and all aqueous solutions. In water and neutral solutions, the concentration of hydrogen ions is equal to the concentration of hydroxide ions.
The volume of hydrogen given off is twice the volume of oxygen given off.