You will need to modify searchform.php file in your theme directory.
To search for current post type posts add following code inside the form !
$post_type = get_post_type();
if($post_type){
echo '<input type="hidden" name="post_type" value="'.$post_type.'" />';
}