We obtain an analytic solution for accretion of a gaseous medium with a adiabatic equation of state ($P=\rho$) onto a Reissner-Nordstr\"{o}m or Kerr-Newman black hole which moves at a constant velocity through the medium. We present the mass accretion rate which depends on the mass, the electric charge or the angular momentum. The flow is two dimensional for Reissner-Nordstr\"{o}m black hole but is fully three dimensional for Kerr-Newman Black Hole.