Peloton has been working to boost its membership numbers through a series of partnerships and posted higher than expected revenue on Thursday.