Oh yeah it's intentional that it teleports you back home, in the same vein as games like Harvest Moon/Stardew Valley/etc. where you get sent back home if you stay up too late, so it's +1 day at midnight but then it won't advance again if you get sent home or use the bed after midnight, if that makes sense. You can remove it though by deleting the section under the Comment in Common Event 102.
As for the number input, I actually wasn't aware that it wasn't controller supported but that seems like a problem with MZ itself, sadly. I just tested it myself and I'm gonna pass it onto someone who can maybe answer why or ask KDKW about it. Scratch that! Just tested it in vanilla MZ and it's fine, so I think it's a problem with the Core Engine. I'll see if I can get it passed onto Olivia so she can look at it. :D