The most famous universities in Canada (McGill, Toronto, UBC, …) are likely to cost more than US$40,000 per year as the total cost of attendance. However, there are quite a few very good universities in Canada, and some of the less famous but still very good ones may cost less than this even for an international student. In the east, you might consider Dalhousie (in Halifax), or a smaller university such as Acadia, Bishop’s, or Mount Allison. Concordia in Montreal might also be in budget. There are quite a few very good universities in Ontario which would be closer for you, but I am not sure what they cost and I mostly only know the most famous ones (Toronto, Queen’s, McMaster).
If you check out prices at any of these, do not forget to take the exchange rate into account.