Both Jordan and Andre Ayew scored as Ghana progressed to the semi-finals of the Africa Cup of Nations at the expense of DR Congo.