Raise the generator’s voltage until bubbles appear, a little above 2 V. Hydrogen collects over the cathode, twice the volume of oxygen over the anode. The indicator turns blue on one side and yellow on the other. Read the charge that has passed: each H2 took two electrons, and each O2 gave up four.
Twice as much hydrogen as oxygen, for the same charge.
Build galvanic cells and electrolysers from metals, solutions and a salt bridge, measure them, and watch one electrode dissolve while metal deposits on the other. The tool needs JavaScript, because every current, potential and mass is worked out in your browser.