Hershey is increasing its prices by around 8% as the US confectioner sees the cost of key commodities rising.