Parents will be prevented from earning money from children under 14 under new plans being drawn up by the Spanish government.