The city water should connect to your water lines after the 12v DC pump, which has a one-way valve so water can only flow out of the tank/ out of the pump.
You would need to add a ball valve off a Tee after the pump and route it back to the water tank, or the water line before the pump to flow water from city to tank.
You would need to do this manually and monitor it to turn it off when full as it would run constantly into the tank and out of the air vent or fill spout.