Periodically driven system coupled to a fermionic bath: A Keldysh approach