The force experienced by an electron towards the nucleus is
Electrostatic force of attraction- Negatively charged electrons revolve around the nucleus at a very high speed and are attracted by the electrostatic force from the nucleus.
Centrifugal force- The attraction is counterbalanced by an outward centrifugal force keeping the electron in its orbit.