What would be the effect on the potential energy of the system of two electrons brought closer?

Work has to be done to overcome the force of repulsion. Thus work done will stored in the form of P.E. So, it increases the potential energy of the system.