Pumping the pedal will do nothing.--
If you keep trying to start it to the point the battery is flat the key might no longer work.-----( You might knacker the code. )
Make sure to charge the battery for at least 24 hours before you try again.
If you happen to get it started then check the voltage at the battery terminals with the engine ticking over.--You should see around 14.4 volts.
What you've described is a faulty alternator or an almost dead battery that doesn't seem to want to charge.