Mr Obama said he was giving Nasa challenging goals and the funding needed to achieve them, including an extra $6bn over the next five years.