Their basic meanings are the same: you can't do that. However, forbidden has more of a social/cultural context while prohibited has more of an official sense. For example: Consumption of alcohol is forbidden in our culture.