Any two or more municipalities through their respective governing bodies are hereby authorized and empowered to enter into and perform such contracts and agreements as they may deem proper for or concerning the planning, construction, lease or other acquisition and the financing of an undertaking and the maintenance and operation thereof.