Ex asked me out on a date

So my ex asked me if I wanted to go out for a coffee or get something to eat and I want to turn him down politely and basically say that I’m cool with being friends and all but I don’t wanna hangout with him. How should I respond to get that message across to him?