There are actually three types of kegs.
Ball lock - Pepsi
Pin lock - Coke
Sanke - Commercial Beer
Most common and the easiest to acquire is probably is the ball lock but you can use the other styles.
Read the "Kegging FAQS
" Sticky it will probably answer most of your questions.
Any questions you have over and above ask away.