Prez Mahama justifies investment on energy