Simply use get_the_term_list
ex:
echo get_the_term_list( $post->ID, Taxonomy_NAME, '<span class="the-category">', ', ', '</span>' );
just change Taxonomy_NAME to your category taxonomy name, if its the default category taxonomy then change it to 'category'