More than $2.1 billion has been committed to state school infrastructure funding ahead of the May budget.