African countries have agreed to cooperate in setting limits for use of lead in paints with a view to phasing it out by 2020.