Malaysia will turn to nuclear energy to generate electricity by 2023 as supplies of fossil fuel eventually run out.