How to Get Current Pagination Number

<?php $paged = get_query_var( 'paged', 1 ); ?>

<h1><?php printf( esc_html__( 'Currently browsing page %s', 'textdomain' ), $paged ); ?></h1>

,