There are frequent buses from Rishikesh Hardiwar route to Delhi and you can get down at Chandigarh, you can book on Make my trip or Redbus both are reliable.
I think there is no direct bus from Rishikesh to Chandigarh. It will be wise to go to Delhi and then from Delhi to Chandigarh. But this will be a longer route.