That depends more on how you say it. Try not to invoke guilt. After all, you presumably like these people and don't want to make them feel bad - but you just don't want to drink. Guilt is where it can go wrong, so you kind of have to dance around it.