Chances are these are what are known as plantar warts. These are caused by the human papillomavirus (HPV) and while pretty much harmless in and of themselves, they can be painful due to the fact that just by walking and otherwise living your life, you can irritate the warts, causing you pain