The Andhra government is planning to bring a law to make only those with more than two children eligible to contest local body elections.