West Indies bowler Sheldon Cottrell took two early wickets against South Africa in their ICC World Cup match.