State-owned HUDCO said it has entered into a pact with the Gujarat government to invest up to Rs 14,500 crore for financing of housing and urban infrastructure projects.