Just use the current_post
property in the loop:
if ( have_posts() )
{
while( have_posts() )
{
global $wp_query;
the_post();
// Show current post number:
echo $wp_query->current_post;
} // endwhile;
} // endif;