Dear Student,
The motion of an electron around the nucleus is centripetal force because the force that acts on a particle revolving in a circle is Centripetal Force, not Centrifugal Force. This necessary force is provided by the electrostatic force between the electron and the nucleus. Centripetal force is not a fundamental force of universe, so it will always be produced due the four fundamental forces
Regards