David Cameron and Ed Miliband have argued in the House of Commons over political issues.