Millions of pounds in funding, made possible because of plans for devolution in the East Midlands, has been agreed and will be spent on improving housing, transport and the skills of local people.