This choice is mostly about where you want to practise and do your PG. A student advising on a similar choice argues that a Delhi college carries far more weight for PG than a UP college, and that doing UG and PG in UP means about four years of bond in total, two for each. Another point raised is that UP PG seats close at a rank of roughly 13 to 14 thousand while the Delhi quota closes at around 7 to 8 thousand, so Delhi is the tougher pool.
On the KGMU side, a student says it's a state college with a 2-year rural bond but eligibility for the state PG quota. The mess is said to be average, with decent food options outside, and the hostel food changes with the block you're allotted.
My view is that if you plan to settle in Delhi-NCR and want a Delhi PG route, UCMS is attractive. If you're from UP, want to stay in the state and are fine with the bond, KGMU is a strong choice. These ranks are student-reported and change each cycle, so check the latest counselling data.
Without any second thoughts, go for UCMS. The academic ambiance is almost the same at both the colleges and both of them are highly reputed. Here are a few additional benefits of choosing UCMS over KGMU
Overall, both colleges have their strengths and weaknesses so choose wisely!