Dielske,
As the extracellular pH drops, the cells begins active transport of H+ out of the cell, probably using K+/H+ antiports. This is where the K+ comes into the equation. By taking up 1 K+ ion for every proton expelled, overall ionic balance is maintained whilst increasing intracellular pH.
Regarding charge, you've got the right idea. I can't remember offhand how this all works in prokaryotes, but in eukaryotes, Na+/K+ ports remove Na+ from the cell and actively transport K+ into the cell in a 3:2 ratio, giving rise to the membrane potential discussed in the previous reply. Its actually quite a complex process, so it might be worth having a look at Molecular Cell Biology (Lodish) or doing a web search for membrane potential or similar.
Kind Regards
R