parasitic twins

Recently a baby boy was born in India with two penises and four legs. How do '"parasitic twins" develop and what causes this? And what conditions prompt duplications in the female anatomy?