Prime Minister Narendra Modi has written to the state government to take steps to stop illegal mining going on in Jakh Pant village near Pithoragarh town.