General Mills is set to buy US natural and organic food firm Annie's in a deal worth US$820m.