Confectionery maker Hershey is investing in one of its largest plants in the US to expand production capacity, a move that will create more than 100 jobs.