Putting an exhaust fan in a furnace room with normal flues on the appliances is a really bad idea. Unless you have positive pressure make up air into that room, you could backdraft both flues with your fan. Now if you have high efficient furnace and hot water tank with outside air supplied for combustion, you would be ok.