Reese's maker Hershey has pledged to increase the "direct sourcing" of its cocoa supplies from two key markets.