Try something like this
$('.nof').keyup(function(){
$('.myfld').empty();
nof = $('.nof').val();
for(var x = 0; x < nof; x++) {
$('.myfld').append('Name : <input type="text" name="ss_'+x+'" />Email : <input type="text" name="email_'+x+'" /><br/>');
}
});
everytime you append the inputs you also change the name of the inputs so for 3 inputs you have something like ss_0/email_0, ss_1/email_1, ss_3/email_3