Rachel Reeves says she cannot be "reckless" with spending and will ramp up investment to reach the figure by 2027.