Amazon has agreed to pay $70 million to families whose children bought things off the Amazon app while playing free games.