The best man would naturally thank the groom during his speech. He could also thank the other speakers at the beginning of his speech and toast the couple at the end.