When NaCl is added to water it gets dissociated into ions. In case electric current is passed through this solution or in presence of high salt concentration water may also get electrolysed giving H+ and OH- ions Chances of formation of NaOH and HCl do not exist as both these are strong electrolytes and exist in dissociated state in water.