You first prepare a discrete frequency distribution table taking the mid values of the class intervals as the values assumed by the variable.
Then apply the the usual formula for mean to get the value of mean.
For computing median and mode, prepare a cumulative frequency distribution table. Then apply the usual formulas/methods. The formulas/methods are available in any standard book on Mathematical Statistics.