When charging a capacitor, current flows and negative charge builds up on the plate connected to the negative terminal. On the opposite plate, electrons are repelled by this charge and so they move to the positive terminal but travel through the power supply and are repelled onto the original plate by the negative terminal. As charge across the plates increases, potential difference increases but the electron flow rate decreases until the potential difference across the capacitor equals the potential difference across the power supply.