Explain why water is either acidified or made alkaline before electrolysis it to get hydrogen?

Pure water is a very poor conductor. It is a very weak electrolyte and is only feebly ionised. To increase its ionisation, it is either acidified or made alkaline.