You don't need a resistor to conduct current for electrolysis. A resistor can absorb some of the ampers and voltage of the source, and make a bit of a cusion on the current.
Be careful of the amount of hydrogen and oxygen that you make as it is flammable, keep an open window.
To be efficient you need salt, that's why iron rusts faster in seawater.
A higher potential difference (voltage) applied to the cell means the cathode will have more energy to bring about reduction, and the anode will have more energy to bring about oxidation. Higher potential difference enables the electrolytic cell to oxidize or reduce energetically more "difficult" compounds. This can drastically change what products will form in a given experiment. On a practical level, both current and voltage determine what will form in a cell.
If you want to convert something nto another compound, e.g sodium chloride to chlorate, go with voltages below 12v but high currents, as they dissolve the electrodes fast.
If you want to quickly make hydrogen gas, use very high voltages like anything between 12v-80v, and bi-carb soda as an electrolyte, and also keep the electrodes spaced together within a centimeter or so, because the more water the electtriciy has to pass through, the more the water resists it, but try to use something like copper at the negative electrode, for best results, use copper sheet, because it doesn't get corroded so long as there is nothing in solution that would do so, like salt.
But what lemonie said was true and should be followed. Voltage or current alone doesn't change how much the water is electrolysed, it just changes how fast the electrodes may errode away.
You need a high wattage, the more volts and amps the better, i.e., 10 volts 5 amps is better than 100volts 100ma:
$$10\times 5=50\text{ watts}$$
$$100\times 0.1=10\text{ watts}$$
But still, I find that there is more hydrogen liberated at higher voltages. So I would recomend using 24v at the highest possible current you can get which should be roughly 18amps.
To do this, look for laptop power supplies, I know mine produces 18v at 18 amps roughly +/- 5 amps.