You can not use nuclear power to extract hydrogen from water or fossil fuels because all methods we know today are inefficient.
You have to generate 3 kWh of electricity in a nuclear plant to obtain hydrogen that, as fuel for a vehicle, will produce just 1 kWh of mechanical work.