A new law requiring horses to be microchipped has been introduced today to prevent abuse and improve welfare.