The pledge of returning US astronauts to the Moon marks a change in focus from the Obama administration, which emphasized exploration of Mars.