The city council may make inquiries and investigations into the affairs of the city and conduct of any department, office, or agency thereof including inquiries and investigation into the services provided to the city by contractors or other persons doing business with the city. For such purpose, the city council may subpoena witnesses, administer oaths, take testimony, and require the production of evidence. Any person who fails or refuses to obey a lawful order issued in the exercise of these powers by the city council shall be punished as may be provided by ordinance.