It is difficult to see from the image, but I believe these may be millipedes in your soil.
Millepedes pose no problem, but you will want to remove them from the pot in your home.
Allow the soil to dry and pick out the pests. Spray the soil with an insecticide, follow the package instructions.
Check under the pot, where the conditions may be damp.