No, your landlord is not permitted to do that. His recourse for non-payment of rent is to bring a lawsuit, not to withhold services. Withholding the services you mentioned causes a breach of the Landlord's Warranty of Habitability, which relieves you of the obligation to pay all or part of the rent. I suggest you engage an attorney to write a letter to the landlord explaining to him what his obligations are as a landlord (which includes providing gas and electricity). You could move out of the apartment at this point if you want to, or talk to a lawyer who can advise you on a lawsuit you may be able to bring against the landlord.