Sheffield Supertram will get a slice of a £1.3 billion investment from the government, Rachel Reeves has announced in the budget.