HCl or NaOH would both suffice. No need to react them. Electrolysis of NaCl solutions is more difficult due to secondary reactions. Prefer NaOH, since the other gas made by electrolysis is oxygen, while HCl evolves toxic chlorine.
What amount of hydrogen do you expect from what current and time? The result uses to be disappointing.