There exists different processes, chemical or electrical, that help to decompose the water in its components, hydrogen and oxygen. Hence, these processes are able to break down the bonds in water molecule.
The electrical process is called water electrolysis and it is based on a electrical current that splits the water molecule in ions of hydroxide `(OH)^-` and hydrogen protons `H^+` .