You can imagine a conductor as an object that contains infinite amount of free charge(electrons) that roam around the conductor. These electrons are actually valence electron, and they can roam freely cause we imagine that the energy required to tear them from their atom is zero. Total charge of an isolated conductor is zero, cause we assume there's equal amount of protons and electrons in atoms that constitute the conductor.
If you have any excess of charge inside a conductor, there exists electric field and push these free electrons around. By Earnshaw's theorem, system can't be held in a stable equilibrium by electrostatic forces alone so if you have excess of negative charge inside conductor, these free electrons will be repelled by it, and would go to infinity if they can, but they can't because they are bounded by the surface of a conductor. They can't leave surface cause they don't have enough energy to break through(theirs energy is below work energy of a conductor). If you put a positive charge inside, same argument goes, but now you imagine that when atttracted electrons come to that positive charge to "suppress" it, they leave lack of negative charge on a surface, which is equal to saying that you have excess of positive charge.
I hope this explanation sounds ok, please someone correct me if I'm wrong :)