Write the word equation for the following written statement:

Water and electric energy produce hydrogen gas and oxygen gas