All cities and cities and counties are empowered to grant franchises for the laying of pipes in the streets, roads, avenues, alleys, and public highways therein, for carrying steam heat under high pressure to be used, distributed, and sold to the inhabitants thereof for heating purposes.