The general rule is that while selling the immovable property the seller cannot impose any restrictions on the manner in which such property is to be used/enjoyed by the buyer. Any such restriction is void (invalid) and cannot be enforced through the courts.
However, a reasonable restriction can be imposed in order to secure the beneficial enjoyment of another piece of such property. (For eg. If there are two portions of the same property, in one portion, there is a coaching institute, so while renting the second portion a restriction can be imposed to not run any noisy business.)
The relevant provision of law is Section 11 of Transfer of Property Act, which reads as follows:
11. Restriction repugnant to interest created.—Where, on a transfer of property, an interest therein is created absolutely in favour of any person, but the terms of the transfer direct that such interest shall be applied or enjoyed by him in a particular manner, he shall be entitled to receive and dispose of such interest as if there were no such direction.
Where any such direction has been made in respect of one piece of immoveable property for the purpose of securing the beneficial enjoyment of another piece of such property, nothing in this section shall be deemed to affect any right which the transferor may have to enforce such direction or any remedy which he may have in respect of a breach thereof.
Therefore, you can rent out the premises for a cafe if it is not causing any disturbance to the neighbouring premises. You just have to execute a lease (rent) agreement specifying the terms and conditions. The onus of obtaining necessary permits from govt. bodies can be placed on the tenant.
Hope this answer helps.