Cadbury is to help fund a project set up to secure cocoa supplies in Ghana.