China has reported its exports rose nearly 22% in the first two months of the year, while trade with the United States contracted.