Suppose pH of water is $6$, I think this means there is one $\text{H}^{+}$ ion for every $10^6$ water molecules.
When we plug in the battery, I believe we see a current as the $\text{H}^{+}$ ions drift to the $-ve$ side of the battery and suck the electrons injected by the negative plate of the battery. Similarly, $\text{OH}^{-}$ ions drift to the $+ve$ plate of the battery and give an electron away to the positive plate of the battery. This way $\text{H}^{+}$ and $\text{OH}^{-}$ ions neutralize themselves as they contribute to the current. Since the ions were neutralizing themselves, would the current cease to exist after some time when all the $\text{H}^+$ ions in the water were used up ?