"Which" is used for a choice from a limited, known list. For example, which item on the restaurant menu, which movie at the theatre.
"What" is used for a choice from a large or unknown list. For example, what kind of animal.
"What languages are spoken in India?" is completely correct.