Yes, you should have some coins, there is Uber in most places of Peru but it is most common to pay in cash as well as there is some places where you have to pay to use the bathrooms the common cost is 1 soles also if you want to buy water, snacks, etc. it is require and better to use the local currency (Soles). Most touristic cities take card although is not so developed in towns.