Here is a great article on the 20 rep squat. His description of the different reps is great.
Bodybuilding.com - Cyberpump - 20-Rep Squats: Can You Handle It?
Picking the weight is not easy, but a guideline that I have heard is to choose a weight that you would normally use for around 10 reps.