Twelve illegal immigrants living in Delhi-NCR and Bareilly in Uttar Pradesh were involved in preparing forged Indian IDs, officers aware of the probe said.