The roles of ratchet in transport of two coupled particles