The investment would improve travel times in the Northeast and create more union jobs, the president said.